import { request } from '@/utils/request'

//发送忘记密码的验证码
export const sendForgetPwdCode = function (number) {
    return request.get(`/code/passwd/phone/${number}`);
}

//执行忘记密码的操作
export const forgetPwd = function (entity) {

    return request.post('/passwd/phone', entity)
}